package com.taotao.junit5.mockito;

import lombok.AllArgsConstructor;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author fanbeibei
 * @version 1.0.0
 * @date 2022/12/15 14:27
 */
@AllArgsConstructor
public class MockitoExample {
    private DataJpa dataJpa;

    public Boolean foo(List<String> names) {
        int res = dataJpa.update(names);
        return res == 1;
    }
}
